-
Notifications
You must be signed in to change notification settings - Fork 1.6k
KEP-5491: DRA: List Types for Attributes #5698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Skipping CI for Draft Pull Request. |
6740a4d to
ff35ed6
Compare
ff35ed6 to
e418c60
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: everpeace The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
everpeace
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@johnbelamaric @pohly @pravk03 @klueska @liggitt
I drafted a KEP for KEP-5491: DRA: List Types for Attributes. Please take a look and give your feedback!!
| reviewers: | ||
| - "@johnbelamaric" | ||
| - "@klueska" | ||
| - "@pohly" | ||
| - "@pravk03" | ||
| approvers: | ||
| - "@johnbelamaric" # WG-Device-Management | ||
| - "@klueska" # WG-Device-Management | ||
| - "@pohly" # WG-Device-Management | ||
| - "@dom4ha" # SIG-Scheduling | ||
| - "@liggitt" # API Review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure these reviewers/approvers are ok. I'm wondering if it's too many? more appropriate ones? I'd like to have feedback.
| components: | ||
| - kube-apiserver | ||
| - kube-scheduler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I understood correctly, this KEP does not need to add the feature gate to kubelet. Am I correct?
| #### Story 2 | ||
|
|
||
| T.B.D. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to have more user stories. Please feel free to provide more use cases, particularly the distinctAttribute with the list-type attribute use case.
| - Redesigning the entire DRA matching model. | ||
| - Currently `Allocator`'s algorithm assumes [_monotonic_ constraints](https://github.com/kubernetes/kubernetes/blob/v1.34.2/staging/src/k8s.io/dynamic-resource-allocation/structured/internal/experimental/allocator_experimental.go#L274-L276) only. Monotonic means that once a constraint returns false, adding more devices will never cause it to return true. This allows to bound the computational complexity for searching device combinations which satisfies the specified constraints. This KEP does NOT intend to change this design. Thus, this KEP focuses to propose monotonic constraints only. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an important Non-Goal of this KEP. Adding a non-monotonic predicate introduces the risk of increasing the search complexity to an exponential level and would need a large rewrite of the Allocator implementation. So, this KEP only focuses on adding monotonic constraints. Focusing only on monotonic constraints also helps the implementation changes as little as possible as discribed Implementation section in the KEP.
/wg device-management
/sig scheduling